package org.fat.nred.actd.tenant.mapper;

import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.fat.nred.actd.tenant.entity.User;

public interface UserMapper {
    int insert(User record);

    int insertSelective(User record);

    @Select("select * from user where id = #{userId}")
    User selectById(@Param("userId") Integer userId);

    int updateByPrimaryKeySelective(User record);
}